<h2>Pictures <a href="<?php echo $ro->gen('pic.upload');?>">[upload]</a></h2>

<ul>
<?php foreach ($t['pictures'] as $p):?>
<li><a href="<?php echo $p['edit_url']?>">[edit]</a>
<a href="<?php echo $p['delete_url']?>">[delete]</a> 
<a href="<?php echo $p['view_url']?>" title="Original size.">[o]</a>
<a href="<?php echo $p['medium_preview_url'];?>" title="Preview, middle size.">[m]</a>
<a href="<?php echo $p['small_preview_url'];?>" title="Preview, small size.">[s]</a>
<?php echo htmlspecialchars($p['name']);?>
</li>
<?php endforeach;?>
</ul>
